# touch attribute syntax

Use the following syntax to specify the touch attribute:

`touch="boolean"`

where boolean is a Boolean value: true | false

If you specify true, the operator can press the object using a touch screen or mouse.

If you specify false, the operator must use a keypad or external keyboard to press the object. In this case, use the keyAssignment attribute to assign a function key to the object.

If the object’s shape attribute is circle or ellipse, the touch area is the object’s bounding box.

## See also

keyAssignment attribute

shape attribute

touch attribute